//
//  HMWorkSelectStudentCell.m
//  优学荟管理系统
//
//  Created by 陈辉明 on 2017/12/26.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "HMWorkSelectStudentCell.h"
#import "HMWorkSelectStudentModel.h"

@implementation HMWorkSelectStudentCell


-(void)setModel:(HMWorkSelectStudentModel *)model {
    _model = model;
    self.nameLabel.text = [NSString stringWithFormat:@"%@",model.petName];
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",model.avatar]] placeholderImage:[UIImage imageNamed:@"bg_picture_default"]];
}


@end
